<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>

<!-- open ckfinder dialog -->
<script type="text/javascript">

	function BrowseServer()
	{	
		var finder = new CKFinder();
		finder.basePath = '../';	// The path for the installation of CKFinder (default = "/ckfinder/").
		finder.selectActionFunction = SetFileField;
		finder.popup();
	}
	function SetFileField( fileUrl )
	{
		document.getElementById( 'imageurl' ).value = fileUrl;
	}

</script>


</head>
<body>





<div class="pageHeader">

<div class="pageFormContent" defH="60">

<p><label>文章标题：</label> <input name="title" type="text" size="30"
	id="title" maxlength="50" class="required" value="{$vo['title']}" />
</p>
<p><label>文章作者：</label> <input name="author" type="text" size="30"
	id="author" maxlength="30" class="required" value="{$vo['author']}" />
</p>
<p><label>文章引用：</label> <input name="rel" type="text" size="30"
	id="rel" value="{$vo['rel']}" /></p>
<p><label>所属模块：</label> <select class="combox" name="module"
	id="module" ref="submodule"
	refUrl="__APP__/Bulletin/getModule?code={value}">
	<option value="">---请选择---</option>
	<volist name="moduleList" id="modulevo">
	<if condition="$vo['module_id'] eq $modulevo['id']">
	<option value="{$modulevo['id']}" selected="selected">{$modulevo['name']}</option>
	<else />
	<option value="{$modulevo['id']}">{$modulevo['name']}</option>
	</if>

	</volist>
</select> <select class="combox" name="submodule" id="submodule">
	<emptyempty name="$vo['submodule_id']">
	<option value="{$submodulevo['id']}" selected="selected">{$vo['submodule']}</option>
	</emptyempty>
	<option value="all">---请选择---</option>
</select></p>

<p><label>是否发布至首页：</label> <if condition="$vo['publishindex'] eq 1">
<input type="radio" name="publishindex" value="1" checked="checked" />是
<input type="radio" name="publishindex" value="0" />否 <else /> <input
	type="radio" name="publishindex" value="1" />是 <input type="radio"
	name="publishindex" value="0" checked="checked" />否 </if></p>

<p><label>缩略图路径：</label> <input id="imageurl" name="imageurl"
	type="text" value="{$vo['imageurl']}" size="14" /> <input type="button"
	value="选择图片" onclick="BrowseServer();" /></p>
<dl class="nowrap">
	<dt>文章摘要（不要超过100个汉字）：</dt>
	<dd><textarea name="summary" cols="131" rows="5" id="summary"
		maxlength="100">{$vo['summary']}</textarea></dd>
</dl>




<dl class="nowrap">
	<div class="buttonActive">
	<div class="buttonContent">
	<button type="submit">提 交</button>
	</div>
	</div>
</dl>

</div>
</div>



</body>
</html>